import {Injectable} from "@nestjs/common";
import { Cron, CronExpression } from '@nestjs/schedule';
import ILogger from "@/services/logger.service";

@Injectable()
export class ScheduleService {
    @Cron(CronExpression.EVERY_3_HOURS)
    exampleHandler() {
        ILogger.info(`exampleHandler triggered.`)
    }
}